export function getPageSchema(object: any) {
  return {
    type: 'object',
    properties: {
      page: {
        type: 'number',
        default: 1,
      },
      size: {
        type: 'number',
        default: 10,
      },
      order: {
        type: 'string',
        default: null,
      },
      sort: {
        type: 'string',
        default: null,
      },
      model: {
        type: 'object',
        properties: object,
      },
    },
  };
}
